﻿#include "pch.h"

#ifdef _WINDLL
#define MYMODULE_API __declspec(dllexport)  // 导出符号（仅DLL编译）
#elif defined(_LIB)
#define MYMODULE_API  // 静态库编译时，什么都不定义
#else
#define MYMODULE_API __declspec(dllimport)  // 导入符号（客户端链接时使用）
#endif


BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
                     )
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
        break;
    }
    return TRUE;
}

